package com.igeek.oa.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购物品表
 * </p>
 *
 * @author author
 * @since 2024-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("purchase_goods")
@ApiModel(value="PurchaseGoods对象", description="采购物品表")
public class PurchaseGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "采购物品编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "采购物品名称")
    private String name;

    @ApiModelProperty(value = "数量")
    private Long count;

    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "采购申请编号")
    private Integer purchaseId;


}
